<?php

require dirname(__FILE__). "/../classes/ContactCli.class.php";
require dirname(__FILE__). "/../classes/ClientsDAO.class.php";
require dirname(__FILE__). "/../classes/ConnectionFactory.class.php";

$cli=new ContactCli();

if(isset($_GET['id']) && (!empty($_GET['id']))) {
$con=new ConnectionFactory();
$co=$con->getConnection();
$dao=new ClientsDAO($co);
$result=$dao->remove($_GET['id']);


}
header("Location: ../tableCli.php");
?>
